<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Grade_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!-- <input id="c-grade_id" data-rule="required" data-source="pt/grade/index" class="form-control selectpage" name="row[grade_id]" type="text" value=""> -->
            <input id="c-grade_id"  
            class="form-control selectpage" 
            data-source="pt/grade/index" 
            autocomplete="off"
            placeholder="请输入职称级别进行搜索"
            data-field="grade_name" 
            data-search-field="id,grade_name"
            data-pagination="true"
            data-format-item="ID{id} / {grade_name}"
            name="row[grade_id]" type="text" 
            value="">
        </div>
 
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bonus_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bonus_amount" data-rule="required" class="form-control" step="0.01" name="row[bonus_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Extra_rewards')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-extra_rewards" data-rule="required" class="form-control" step="0.01" name="row[extra_rewards]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" class="form-control" name="row[remarks]" type="text">
        </div>
    </div>
    <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div> -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
